<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>ajax</title>
</head>
<body>
    <h1>hello  <span id="myName"></span></h1>
    <button id="getCss">请求css</button>
    <button id="getJs">请求js</button>
    <button id="getHTML">请求HTML</button>
    <button id="getXML">请求XML</button>
    <button id="getJSON">请求JSON</button>

    <hr>
    <hr>
    <button id="getPage">请求下一页</button>
    <div>
        {{page1}}
    </div>
    <script src="/main.js"></script>
</body>
</html>